import DashboardSharp from '@vicons/material/DashboardSharp'
import ManageAccountsFilled from '@vicons/material/ManageAccountsFilled'
import SettingsSuggestRound from '@vicons/material/SettingsSuggestRound'
import TaskListLtr24Filled from '@vicons/fluent/TaskListLtr24Filled'
import AddChartSharp from '@vicons/material/AddChartSharp'
import FileTrayFullSharp from '@vicons/ionicons5/FileTrayFullSharp'
import Organization32Filled from '@vicons/fluent/Organization32Filled'
import Adjustments from '@vicons/tabler/Adjustments'

export default [
  {
    title: '工作台',
    path: 'dashboard',
    icon: DashboardSharp
  },
  {
    title: '待办任务',
    path: 'todo',
    icon: TaskListLtr24Filled,
    component: () => import('/@/pages/todo/Index.vue')
  },
  {
    title: '事件列表',
    path: 'ticket',
    icon: AddChartSharp,
    children: [
      {
        title: '事件录入',
        path: 'create',
        hidden: true,
        component: () => import('/@/pages/ticket/create.vue')
      },
      {
        title: '事件审核',
        path: ':id',
        hidden: true,
        component: () => import('/@/pages/ticket/:Id.vue')
      }
    ]
  },
  {
    title: '卷宗模板',
    path: 'template',
    icon: FileTrayFullSharp,
    component: () => import('/@/pages/template/Index.vue')
  },
  {
    title: '组织机构',
    path: 'department',
    icon: Organization32Filled,
    component: () => import('/@/pages/department/Index.vue')
  },
  {
    title: '辖区管理',
    path: 'district',
    icon: Adjustments,
    component: () => import('/@/pages/department/District.vue')
  },
  {
    title: '用户管理',
    path: 'system/user',
    icon: ManageAccountsFilled,
    children: [
      {
        title: '新建用户',
        path: 'create',
        hidden: true,
        component: () => import('/@/pages/system/user/:Id.vue')
      },
      {
        title: '编辑用户',
        path: ':id',
        hidden: true,
        component: () => import('/@/pages/system/user/:Id.vue')
      }
    ]
  }
]
